<div class="portlet box green form">
	<div class="portlet-title">
		<div class="caption">
			<i class="fa fa-cogs"></i>
			订单 &gt; 售后管理 &gt; 售后服务 &gt; 详情
		</div>
		<div class="tools">
			<a href="javascript:;" class="collapse" data-original-title="" title=""> </a>
		</div>
	</div>
	<div class="portlet-body">
		<div class="tabbable-line ">
			<ul class="nav nav-tabs ">
				<li class="active">
					<a href="/afterMarketOrder/show?id=$!amOrder.id" class="ajaxify" id="orderInfoLink">订单信息</a>
				</li>
				<li>
					<a href="/amOrderItem/list?amOrderId=$!amOrder.id" class="ajaxify">订单货品</a>
				</li>
				<li>
					<a href="/amOrderLog/orderLogs?amOrderId=$!amOrder.id" class="ajaxify">订单日志</a>
				</li>
			</ul>

			<div class="tab-content">
				<div class="tab-pane active form">
					<div class="form-body">
						<h3 class="form-section">售后信息</h3>
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">售后单号：</label>
									<div class="col-md-9">
										<p>$!amOrder.id</p>
									</div>
								</div>
							</div>
							<!--/span-->
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">订单号：</label>
									<div class="col-md-9">
										<p>$!amOrder.orderId</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">订单配送方式：</label>
									<div class="col-md-9">
										<p>物流</p>
									</div>
								</div>
							</div>
						</div>
						<!--/row-->
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">所属企业：</label>
									<div class="col-md-9">
										<p>$!amOrder.company</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">所属门店：</label>
									<div class="col-md-9">
										<p>$!amOrder.wareHouserName</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">退货方式：</label>
									<div class="col-md-9">
										<p>$!amOrder.company</p>
									</div>
								</div>
							</div>
						</div>
						<!--/row-->
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">申请人类型：</label>
									<div class="col-md-9">
										<p>买家</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">卖家代申请人：</label>
									<div class="col-md-9">
										<p>$!amOrder.username</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">申请会员：</label>
									<div class="col-md-9">
										<p>$!amOrder.username</p>
									</div>
								</div>
							</div>
						</div>
						<!--/row-->
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">售后类型：</label>
									<div class="col-md-9">
										<p>$!amOrder.reOrderType.name</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">售后状态：</label>
									<div class="col-md-9">
										<p>$!amOrder.orderState.name</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">售后涉及金额：</label>
									<div class="col-md-9">
										<p>$!amOrder.reFundFee</p>
									</div>
								</div>
							</div>
						</div>
						<!--/row-->
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">售后原因：</label>
									<div class="col-md-9">
										<p>$!amOrder.reOrderReason.name</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">详细说明：</label>
									<div class="col-md-9">
										<p>$!amOrder.reason</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">申请时间：</label>
									<div class="col-md-9">
										<p>$!amOrder.createDate</p>
									</div>
								</div>
							</div>
						</div>
						<!--/row-->
						<div class="row">
							<div class="col-md-12">
								<div class="form-group">
									<label class="control-label col-md-3">凭证图片：</label>
									<div class="col-md-9 images">
										#if($!amOrder.image1)
										 <a href="$!amOrder.image1" class="fancybox-button" data-rel="fancybox-button">
			                               <img class="img-responsive"  src="$!amOrder.image1" alt=""> 
			                             </a>
										#end
										#if($!amOrder.image2)
										 <a href="$!amOrder.image2" class="fancybox-button" data-rel="fancybox-button">
			                               <img class="img-responsive"  src="$!amOrder.image2" alt=""> 
			                             </a>
										#end
										#if($!amOrder.image3)
										<a href="$!amOrder.image3" class="fancybox-button" data-rel="fancybox-button">
			                               <img class="img-responsive"  src="$!amOrder.image3" alt=""> 
			                             </a>
										#end
										#if($!amOrder.image4)
										<a href="$!amOrder.image4" class="fancybox-button" data-rel="fancybox-button">
			                               <img class="img-responsive"  src="$!amOrder.image4" alt=""> 
			                             </a>
										#end
										#if($!amOrder.image5)
										<a href="$!amOrder.image5" class="fancybox-button" data-rel="fancybox-button">
			                               <img class="img-responsive"  src="$!amOrder.image5" alt=""> 
			                             </a>
										#end
										#if($!amOrder.image6)
										<a href="$!amOrder.image6" class="fancybox-button" data-rel="fancybox-button">
			                               <img class="img-responsive"  src="$!amOrder.image6" alt=""> 
			                             </a>
										#end
									</div>
								</div>
							</div>
							
						</div>

						<!--/row-->
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">退货快递公司：</label>
									<div class="col-md-9">
										<p>$!amOrder.transCompany</p>
									</div>
								</div>
							</div>
							<div class="col-md-4">
								<div class="form-group">
									<label class="control-label col-md-3">退货快递单号：</label>
									<div class="col-md-9">
										<p>$!amOrder.transNum</p>
									</div>
								</div>
							</div>
<!-- 							<div class="col-md-4"> -->
<!-- 								<div class="form-group"> -->
<!-- 									<label class="control-label col-md-3">售后涉及金额：</label> -->
<!-- 									<div class="col-md-9"> -->
<!-- 										<p>$!amOrder.total</p> -->
<!-- 									</div> -->
<!-- 								</div> -->
<!-- 							</div> -->
						</div>
						
					</div>
				</div>

			</div>

		</div>
	</div>
</div>
<script type="text/javascript">
$(".fancybox-button").fancybox();
</script>